var express = require('express');
var router = express.Router();

// controller 逻辑层代码 中间件
const { userRegister, fetchUsers, my_remove } = require('../controller/users')

/* GET users listing. */
router.post('/login', userRegister);

router.get('/fetchUsers', fetchUsers)

router.post('/delete', my_remove)  // 删除路由

module.exports = router;
